#include "mystdio.h"
#include "mymath.h"
#include <stdio.h>
#include <string.h>

int main()
{
    int a = 10, b = 20;
    printf("%d+%d=%d\n", a, b, myAdd(a, b));
    my_FILE* fp = my_fopen("./myfile.txt", "w");
    if (fp == NULL) return 1;
    const char* message = "这就是我写的\n";
    my_fwrite(fp, message, strlen(message));
    my_fclose(fp);

    return 0;
}
